home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cgbbrd.z / cgbbrd
Encoding:
Text File  |  2002-10-03  |  5.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CGBBRD - reduce a complex general m-by-n band matrix A to real upper
  10.      bidiagonal form B by a unitary transformation
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q, LDQ, PT,
  14.                         LDPT, C, LDC, WORK, RWORK, INFO )
  15.  
  16.          CHARACTER      VECT
  17.  
  18.          INTEGER        INFO, KL, KU, LDAB, LDC, LDPT, LDQ, M, N, NCC
  19.  
  20.          REAL           D( * ), E( * ), RWORK( * )
  21.  
  22.          COMPLEX        AB( LDAB, * ), C( LDC, * ), PT( LDPT, * ), Q( LDQ, *
  23.                         ), WORK( * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      CGBBRD reduces a complex general m-by-n band matrix A to real upper
  40.      bidiagonal form B by a unitary transformation: Q' * A * P = B. The
  41.      routine computes B, and optionally forms Q or P', or computes Q'*C for a
  42.      given matrix C.
  43.  
  44.  
  45. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  46.      VECT    (input) CHARACTER*1
  47.              Specifies whether or not the matrices Q and P' are to be formed.
  48.              = 'N': do not form Q or P';
  49.              = 'Q': form Q only;
  50.              = 'P': form P' only;
  51.              = 'B': form both.
  52.  
  53.      M       (input) INTEGER
  54.              The number of rows of the matrix A.  M >= 0.
  55.  
  56.      N       (input) INTEGER
  57.              The number of columns of the matrix A.  N >= 0.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      NCC     (input) INTEGER
  75.              The number of columns of the matrix C.  NCC >= 0.
  76.  
  77.      KL      (input) INTEGER
  78.              The number of subdiagonals of the matrix A. KL >= 0.
  79.  
  80.      KU      (input) INTEGER
  81.              The number of superdiagonals of the matrix A. KU >= 0.
  82.  
  83.      AB      (input/output) COMPLEX array, dimension (LDAB,N)
  84.              On entry, the m-by-n band matrix A, stored in rows 1 to KL+KU+1.
  85.              The j-th column of A is stored in the j-th column of the array AB
  86.              as follows:  AB(ku+1+i-j,j) = A(i,j) for max(1,j-
  87.              ku)<=i<=min(m,j+kl).  On exit, A is overwritten by values
  88.              generated during the reduction.
  89.  
  90.      LDAB    (input) INTEGER
  91.              The leading dimension of the array A. LDAB >= KL+KU+1.
  92.  
  93.      D       (output) REAL array, dimension (min(M,N))
  94.              The diagonal elements of the bidiagonal matrix B.
  95.  
  96.      E       (output) REAL array, dimension (min(M,N)-1)
  97.              The superdiagonal elements of the bidiagonal matrix B.
  98.  
  99.      Q       (output) COMPLEX array, dimension (LDQ,M)
  100.              If VECT = 'Q' or 'B', the m-by-m unitary matrix Q.  If VECT = 'N'
  101.              or 'P', the array Q is not referenced.
  102.  
  103.      LDQ     (input) INTEGER
  104.              The leading dimension of the array Q.  LDQ >= max(1,M) if VECT =
  105.              'Q' or 'B'; LDQ >= 1 otherwise.
  106.  
  107.      PT      (output) COMPLEX array, dimension (LDPT,N)
  108.              If VECT = 'P' or 'B', the n-by-n unitary matrix P'.  If VECT =
  109.              'N' or 'Q', the array PT is not referenced.
  110.  
  111.      LDPT    (input) INTEGER
  112.              The leading dimension of the array PT.  LDPT >= max(1,N) if VECT
  113.              = 'P' or 'B'; LDPT >= 1 otherwise.
  114.  
  115.      C       (input/output) COMPLEX array, dimension (LDC,NCC)
  116.              On entry, an m-by-ncc matrix C.  On exit, C is overwritten by
  117.              Q'*C.  C is not referenced if NCC = 0.
  118.  
  119.      LDC     (input) INTEGER
  120.              The leading dimension of the array C.  LDC >= max(1,M) if NCC >
  121.              0; LDC >= 1 if NCC = 0.
  122.  
  123.      WORK    (workspace) COMPLEX array, dimension (max(M,N))
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          CCCCGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      RWORK   (workspace) REAL array, dimension (max(M,N))
  141.  
  142.      INFO    (output) INTEGER
  143.              = 0:  successful exit.
  144.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  145.  
  146. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  147.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  148.  
  149.      This man page is available only online.
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.